x86/HVM: restrict emulation in hvm_descriptor_access_intercept()
authorJan Beulich <jbeulich@suse.com>
Wed, 19 Apr 2017 11:26:18 +0000 (13:26 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 19 Apr 2017 11:26:18 +0000 (13:26 +0200)
commitac1dbdc50ee7b048a8fdfdfc3a9191d24741d82e
treea5b8d76cdfa25bc74d1d67c6e7d02f4ae6d26a50
parent818ff653a7afa51e11631e4ed373f70fd45e3a21
x86/HVM: restrict emulation in hvm_descriptor_access_intercept()

While I did review d0a699a389 ("x86/monitor: add support for descriptor
access events") it didn't really occur to me that someone could be this
blunt and add unguarded emulation again just a few weeks after we
guarded all special purpose emulator invocations. Fix this.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Julien Grall <julien.grall@arm.com>
xen/arch/x86/hvm/hvm.c